using System;
using StructureMap.Graph;

namespace IoCBattle.Infrastructorrrr
{
    public class TotallyTypicalConvention : DefaultConventionScanner
    {
        public override Type FindPluginType(Type concreteType)
        {
            return ConventionHelper
                .FindInterfaceForConcreteUsingPrefixes(concreteType, "IAmATotal", "YourTypical");
        }
    }
}